@use "@/assets/scss/head.scss";

.bodyBox {
    background-color: #F2F6F9;
    padding: 0.8rem  5% 0.3rem;
    .item {
        width: 100%;
        height: 100%;
        margin-bottom: 16px ;
        overflow: hidden;
       
        .imgBox {
            width: 100%;
            height: 280px;
            overflow: hidden;

            .img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                transition: opacity .4s ease-in, transform .6s linear;
            }
        }

        .bottom {
            padding: 0.2rem 0.4rem 0.3rem;
            line-height: 0.26rem;
            transition: all 0.3s;
            color: #333333;
            min-height: 169px;
            box-sizing: border-box;

            .txt1 {
                font-size: 0.2rem;
                margin-bottom: 30px;
            }

            .txt2 {
                font-size: 0.15rem;
            }
        }

    }
}

@media screen and (max-width: 768px) {
    .headBox {
        height: 5.2rem !important;

        .body {
            display: none;
        }
    }
    .bodyBox{
        padding: 0.8rem  3% 0.3rem !important;
        .item{
           
            .bottom{
                min-height: 109px;
            }
        }
    }
}

@media screen and (min-width: 768px) {
    .item:hover {
        img {
            transform: scale(1.1, 1.1);
        }

        .bottom {
            background-color: #0252A6;
            color: #fff !important;
        }
    }
}